<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="./css/iconfont.css">
    <style>
        .msg{
            width: 200px;
            height: 200px;
            border: 2px solid #0078d7;
            margin-left: 100px;
            position: relative;
        }
        .msg::before{
            font-family:"iconfont";
            content: "\e663";
            font-size: 20px;
            position: absolute;
            bottom: 0;
            left: -20px;
        }
    </style>
</head>
<body>
    <div class="msg">我是聊天记录</div>

    <script>
        const arr = [1,2,3,4,5]
        arr.splice('0', 1)
        console.log(arr)
    </script>
</body>
</html>